/**
 * 
 */
package hanto.studentdlally.tournament;
import hanto.tournament.HantoGameDirector;
import hanto.util.HantoPlayerColor;
/**
 * @author Doug
 *
 */
public class RunTestMatch {

	public static void main(String[] args){
		// Put the following code in the method where you want to run the game.

		// create two of your players (say in variable blue and red.
		HantoGameDirector director = HantoGameDirector.getInstance();
		DeltaHantoPlayer blue = new DeltaHantoPlayer(HantoPlayerColor.BLUE, true);
		DeltaHantoPlayer red = new DeltaHantoPlayer(HantoPlayerColor.RED, false);
		director.initialize(blue, red);
		// if you want logging turned on include the next line.
		director.setLogLevel(HantoGameDirector.HantoLogLevel.BASIC);
		// if you want to limit the game to n full moves include the next line.
		director.setMoveLimit(150);
		// now play the game
		director.playGame();        // returns a MoveResult that says who wins or if it is a draw
	
	}
}
